package com.zc.springboot0506.controller.renpf;

import com.zc.springboot0506.controller.renpf.pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 任鹏飞提交的
 * @create: 2021/6/22
 * @author: Tony Stark
 */
@RequestMapping("rpf")
@RestController
public class RpfController {

    @RequestMapping("/test")
    public void  Test(){
        System.out.println("测试git提交");
    }
    @RequestMapping("/add")
    public void add(User user){
        System.out.println(user.getName());
        System.out.println(user.getPass());
    }

}
